package com.zack.designPattern.visitor;

public class Daughter implements Visitor {

	@Override
	public void visit(Father v) {
		System.out.println("闺女拜访爸爸");

	}

	@Override
	public void visit(Mother v) {
		System.out.println("闺女拜访妈妈");

	}

}
